Theory of Dissonance